
st = []
def add_student(name, age, gender):
    student = {'name': name, 'age': age, 'gender': gender}
    st.append(student)

add_student('张三', 20, '男')
add_student('李四', 22, '女')
add_student('王五', 21, '男')

print(st)
